<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap J_check_wrap" style="width:700px;height:500px;">
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>id</td>
                <td>消息id</td>
                <td>消息类型</td>
                <td>消费者</td>
                <td>处理结果</td>
                <td>处理时间</td>
            </thead>
            <tbody>
            <c:if test="${empty logModels}">
                <td colspan="6" align="center">暂无记录</td>
            </c:if>
            <c:if test="${not empty logModels}">
                <c:forEach items="${logModels}" var="item">
                    <tr>
                        <td>${item.id }</td>
                        <td>${item.msg_id }</td>
                        <td>${item.strMap.msg_type }</td>
                        <td>${item.consumer }</td>
                        <td>${item.strMap.result }</td>
                        <td>${item.strMap.dispose_time }</td>
                    </tr>
                </c:forEach>
            </c:if>
            </tbody>
        </table>
    </div>
</div>